import a from './test/user'

console.log(a,'=====');
function dec(id){

    return (target, property, descriptor) => {
    	
    	console.log(descriptor);
    	console.log(property);
    	console.log(target.method());
   
    }
}

//@dec({id:11})
class Example {
    @dec({id:11})
    method(){
    	console.log(111111111);
    	console.log(this);
    }

    adff() {
    	console.log(222222222);
    }
}
